<template>
  <!-- <img
    alt="Vue logo"
    src="./assets/logo.png"
  /> -->
  <!-- <HelloWorld
    msg="Hello Vue 3.0 + Vite"
    @sendMsg="handler"
  /> -->
  <to-do-list></to-do-list>
</template>

<script>
import HelloWorld from "./components/HelloWorld.vue";
import ToDoList from './components/ToDoList.vue'

export default {
  name: "App",
  components: {
    HelloWorld,ToDoList
  },
  setup() {
    const handler = value =>{
      console.log(value,"handler");
    }
    // function handler(value) {
    //   console.log(value, "handler");
    // }
    return {
      handler,
    };
  },
};
</script>
